process {

    withName: BBMAP_BBDUK {
        ext.args = 'trimq=10 qtrim=r'
        ext.prefix = { "${meta.id}.trim" }
    }

}
